﻿using System;

namespace OpenLS.Spreadsheet.Formats.Biff.Records
{
    internal class UncalcedRecord : BiffRecord
    {
        private ushort reserved1;

        protected override void ReadContent(BiffReaderContext context, int length)
        {
            this.reserved1 = context.ReadUInt16();
        }

        internal override BiffRecordType RecordType
        {
            get { return BiffRecordType.Uncalced; }
        }

        internal override void WriteContent(BiffWriterWorkbookContext context)
        {
            context.Write(reserved1);
        }
    }
}